Platform Explorer / Nuxeo Platform LTS 2016 8.10

Contribution org.nuxeo.platform.TemplateSources.actions--actions

This contribution is part of XML component org.nuxeo.platform.TemplateSources.actions inside nuxeo-template-rendering-web-8.10.jar /OSGI-INF/actions-contrib.xml

Extension Point

Extension point actions of component ActionService.

Contributed Items

  • <action id="CREATE_DOCUMENT">
          <filter-id>is_not_creating_template</filter-id>
        </action>
  • <action id="CREATE_DOCUMENT_TEMPLATE" label="command.create" link="#{templateActions.createTemplate}" order="0">
          <category>CREATE_DOCUMENT_FORM</category>
          <filter-id>is_creating_template</filter-id>
        </action>
  • <action enabled="true" id="TAB_TEMPLATE_PARAMS" label="tab.template.parameters" link="/incl/tabs/template_tab.xhtml" order="55" type="rest_document_link">
          <category>VIEW_ACTION_LIST</category>
          <filter id="view_template_params">
            <rule grant="true">
              <permission>Write</permission>
              <facet>Template</facet>
            </rule>
          </filter>
        </action>
  • <action enabled="true" id="TAB_TEMPLATEBASED_PARAMS" label="tab.template.associated" link="/incl/tabs/templatebased_tab.xhtml" order="55" type="rest_document_link">
          <category>VIEW_ACTION_LIST</category>
          <filter id="view_templatebased_params">
            <rule grant="true">
              <facet>TemplateBased</facet>
            </rule>
          </filter>
        </action>
  • <action icon="/icons/doctemplate.png" id="associateTemplate" label="action.template.associate" order="20" type="fancybox">
          <category>DOCUMENT_UPPER_ACTION</category>
          <properties>
            <property name="include">/associateTemplate.xhtml</property>
          </properties>
          <filter id="canAssociateTemplate">
            <rule grant="false">
              <facet>Template</facet>
              <facet>TemplateBased</facet>
              <facet>Folderish</facet>
            </rule>
          </filter>
        </action>

XML Source

<extension point="actions" target="org.nuxeo.ecm.platform.actions.ActionService">

    <action id="CREATE_DOCUMENT">
      <filter-id>is_not_creating_template</filter-id>
    </action>

    <action id="CREATE_DOCUMENT_TEMPLATE" label="command.create" link="#{templateActions.createTemplate}" order="0">
      <category>CREATE_DOCUMENT_FORM</category>
      <filter-id>is_creating_template</filter-id>
    </action>

    <action enabled="true" id="TAB_TEMPLATE_PARAMS" label="tab.template.parameters" link="/incl/tabs/template_tab.xhtml" order="55" type="rest_document_link">
      <category>VIEW_ACTION_LIST</category>
      <filter id="view_template_params">
        <rule grant="true">
          <permission>Write</permission>
          <facet>Template</facet>
        </rule>
      </filter>
    </action>

    <action enabled="true" id="TAB_TEMPLATEBASED_PARAMS" label="tab.template.associated" link="/incl/tabs/templatebased_tab.xhtml" order="55" type="rest_document_link">
      <category>VIEW_ACTION_LIST</category>
      <filter id="view_templatebased_params">
        <rule grant="true">
          <facet>TemplateBased</facet>
        </rule>
      </filter>
    </action>

  <action icon="/icons/doctemplate.png" id="associateTemplate" label="action.template.associate" order="20" type="fancybox">
      <category>DOCUMENT_UPPER_ACTION</category>
      <properties>
        <property name="include">/associateTemplate.xhtml</property>
      </properties>
      <filter id="canAssociateTemplate">
        <rule grant="false">
          <facet>Template</facet>
          <facet>TemplateBased</facet>
          <facet>Folderish</facet>
        </rule>
      </filter>
    </action>

  </extension>